package com.file.manage.domain.data;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.file.manage.domain.enums.UserRole;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author H41
 * @Type UserInfo.java
 * @date 2025/5/30 23:44
 * @Desc
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(title = "用户基本信息")
public class UserInfo {

    private String id;
    @Schema(title = "用户名")
    private String name;

    @Schema(title = "账号")
    private String account;
    @Schema(title = "角色")
    private UserRole role;
    @Schema(title = "创建人")
    private String createdBy;

    @Schema(title = "创建时间")
    private Date createdTime;
    @Schema(title = "修改时间")
    private Date updatedTime;
    @Schema(title = "修改人")
    private String updatedBy;

}
